﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class books
    {
        public string ISBN { get; set; }
        public string bookName { get; set; }
        public int price { get; set; }
        public string pub { get; set; }
        public string writer { get; set; }

        public void print() {
            Console.WriteLine("ISBN:{0} 书籍名称:{1} 价格:{2} 出版社：{3} 作者：{4}",this.ISBN,this.bookName,this.price,this.pub,this.writer);
            Console.ReadKey();
        }
    }
}
